package com.wskh.eduOrder.client;

import com.wskh.eduOrder.entity.CourseWebVo;
import com.wskh.eduOrder.client.impl.UcenterClientImpl;
import com.wskh.eduOrder.entity.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient(value = "service-ucenter",fallback = UcenterClientImpl.class)
public interface UcenterClient {
    @PostMapping("/eduCenter/member/getInfoUc/{id}")
    public UcenterMember getInfoUc(@PathVariable String id);
}
